//
//  FeaturedViewContoller.h
//  CoMeT
//
//  Created by Gang on 6/12/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface FeaturedViewContoller : UIViewController<UITableViewDataSource, UITableViewDelegate> {
    IBOutlet UITableView *mytableView; 
    IBOutlet UISegmentedControl *segmentedControl;
    NSMutableArray *talks;
    NSMutableString *titleText;
    NSMutableString *detailText;
    NSMutableString *viewCount;
    NSMutableString *bookmarkCount;
    
    
    int weekcount;
    UIView *footerView;
    
    NSMutableDictionary *sections;
    NSArray *sortedSections;
    
    IBOutlet UIButton *refreshBtn;
}

-(IBAction) action:(id)sender;
-(IBAction) refreshTalks:(id)sender;
-(void) parseData;

@property (retain, nonatomic) IBOutlet UITableView *mytableView;
@property (retain, nonatomic) IBOutlet UISegmentedControl *segmentedControl;
@property (retain, nonatomic) NSMutableArray *talks;

@property (retain, nonatomic) NSMutableString *titleText;
@property (retain, nonatomic) NSMutableString *detailText;
@property (retain, nonatomic) NSMutableString *viewCount;
@property (retain, nonatomic) NSMutableString *bookmarkCount;
@property (retain, nonatomic) UIView *footerView;

@property (retain,nonatomic) IBOutlet UIButton *refreshBtn;

@property (retain, nonatomic) NSMutableDictionary *sections;
@property (retain, nonatomic ) NSArray *sortedSections;
@end
